#start year future projections
2010
#end year future
2020
#Q
1.0
#Nat mort immature female/male
0.23  0.23
#nat mort mature new shell female/male
0.23  0.23
#nat mort mature old shell female/male
0.23  0.23
# molting prob mature male phase (set to -1 for terminal molt)
-1
#8
# phase for estimating dome shaped fishery selectivity parameters (-1 for no dome shpaed)
-1
#6
#growth switch males 1 for st. marie 2 for st.marie then same after 90mm
1
#phase to estimate 1989 to present period survey selectivity(set to 4) if negative then fixed at Somerton and Otto
 4
#phase to estimate 1978 to 1982 and 1983-1988 survey selectivity(set to 4) if negative then fixed at Somerton and Otto
# to fix all survey sel at somerton and otto set both to negative
 4
#phase to estimate future projections
9
#median rec for last years and future years
692528.  542191.
#number of years to fix recruits
0
#number of length bins female
32
#number of length bins male
32
#switch for smooth selectivity fishery
1
#switch for smooth selectivity survey
1
#phase for estimating fishery and bycatch selectivity curves
3
#phase for estimating smooth selectivities
-1
#parameters for somerton selectivity curve (not standard logistic)
#underbag experiment
#0.9894
#14.49
#0.0366
#somerton report 2009 industry survey 108 tows
# model:  rat.m ~ a/(1 + exp(-(b + c * width.m)))
#      a          b            c
# 0.8418 -2.6466  0.0354
0.8418
-2.6466
0.0354
7.905
0.081
#weights for smooth sel - not used
 10. 40. 40. 40.
# second number is weight for retained catch - multiplied by 10* in later phases
 2000. 1000. 100000. 10000.
#next eight values are like_wght(i), 1 to 8.
 # weight for retained length comps
#2.0 was
1.0
#weight tot length comps
#used 0.15 for runs with 100% discard mort and higher
#0.15 
#2.0 was
1.0
#weight for female pot fishery discard length comps
1.0
#0.5
#weight for survey length comps
#10.0
 1.0
# 0.5
# 0.1
#0.1
# 0.25
#survey biomass cv factor multiplied times the obs cv's
#female
 1.0
# weight for retained catch biomass
#was 1000
10.
#weight for trawl bycatch length comps
1.0
#0.5
#survey biomass cv factor multiplied times the obs cv's
#male
1.0
#weight for male recruitment devs
0.001
#weight for female rec devs
0.001
#weight for sex ratio
#1000.0 - putting weight this high results in male and female recruitments closer, however
# underestimates biomass for both males and females
#putting no weight on sex ratio of recruits results in lower survey selectivities and very
#high recruits for females relative to males for higher yr classes - very high population
#biomass estimates
0.001
#100.0
#
#weight for fishery 50% selectivity deviations
#10000 was
100
#weight for fishery 50% used to fit discards
#300.0
#weight for fishery 50%  used to free up discards 
#50.0
#1
#weight for fmorts pot fishery phase 1
10.0
#weight for fmorts pot fishery after phase 1
#25.0
#0.01
#this was sept 2009
#50.0
 2.0
# 0.001
#weight for fmort deviations pot fishery
#20.0 
#10.0 was
0.1
#0.001
#assumed mortality for pot fishery bycatch
#1.0
#0.6
 0.5
# 0.4
#0.25
#mortality for trawl bycatch
#1.0
 0.8
#growth parameters from ST. Marie with sd(for priors not estimated)
5.9417
0.59
6.0652
.5
1.1067
0.25
1.1238
0.25
#not used above here 
#prior means followed by sd for growth parameters
#these are the parameters used in model
#female a <95
 2.683  
#female >95
17.75
#sd a
0.001
#male a
#crab <=100
3.87
#crab >100
15.75   
#sd a
0.01
#female b
1.221
#
1.070      
#sd b
0.0001
#male b
#crab < =105
1.186
# males > 105
1.07    # this gives approx same growth with intercept at 6.773 same for males and females
#sd b
0.001
#sd at recruitment
3.6
0.1
#sd at max length
10.5
0.2
#mating ratio for estimation of effective spawning biomass
 1.72
#fraction of new shell animals that are 0<1 yr from molting (error in shell condition)
1.0
#0.64
#if greater than 0 then use maturity logistic curve instead of fractions by year for probability
#of new shell maturity
2
#number of ages to track for old shell mature animals
10
#weight for total (retained plus discard) catch likelihood
#weight increases in last phases by 10* to fit catch closely otherwise problems
#in converging at earlier stages
#weight used to fit discards
#1000.
10.0
#600.0
#weight to fit 25% mort on discards
#1200.0
#weight used to free up discards
#50.0
#weight for female pot bycatch likelihood
10.0
#0.3
#CV for the fit to pot fishery likelihood - larger means less weight on fit
5.0
#wt for fitting large male (>101) survey numbers
#at later phases this increased by 2.0*
#10.0
#300.0
#1000.0
#20.0
#50.0
#1.0
0.001
1    # Q prior switch (0=don't use, 1=use)
1    # mort switch  (0=don't use, 1=use)
1980  # start year extra mort 
1984  # end year extra mort
